package qeug.shsh.facde.info;

import kd.bos.openapi.common.custom.annotation.ApiModel;
import kd.bos.openapi.common.custom.annotation.ApiParam;
import java.io.Serializable;
import java.util.List;


@ApiModel
public class CustomerInfo {
    @ApiParam(value = "数据集合", example = "入参样例")
    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }
    public static class DataBean implements Serializable {
        @ApiParam(value = "分发id", required = true, position = 1)
        private String MDM_NO;
        @ApiParam(value = "编码", required = true, position = 2)
        private String KUNNR;
        @ApiParam(value = "单位全称", required = false, position = 3)
        private String FULL_NAME;
        @ApiParam(value = "数据状态", required = true, position = 4)
        private String STATUS;
        @ApiParam(value = "使用状态", required = false, position = 5)
        private String ENABLE;
        @ApiParam(value = "单位简称", required = false, position = 6)
        private String NAME1;
        @ApiParam(value = "创建组织", required = true, position = 7)
        private String CREATEORG;
        @ApiParam(value = "控制策略", required = true, position = 8)
        private String CTRLSTRATEGY;

        @ApiParam(value = "客户账户组编码", required = false)
        private String KTOKD;

        @ApiParam(value = "客户账户组名称", required = false)
        private String KTOKD1;
        @ApiParam(value = "电话号", required = false)
        private String TEL_NUMBER;
        @ApiParam(value = "传真号", required = false)
        private String FAX_NUMBER;
        @ApiParam(value = "统一信用代码", required = false)
        private String SORT1;
        @ApiParam(value = "电子邮件", required = false)
        private String EMAIL;
        @ApiParam(value = "币种代码", required = false)
        private String CURRENCYCODE;


        @ApiParam(value = "单位性质", required = false)
        private String ANRED;

        @ApiParam(value = "地址", required = false)
        private String ADDRESS;

        @ApiParam(value = "贸易伙伴", required = false)
        private String VBUND;

        @ApiParam(value = "地区编码", required = false)
        private String REGIO;

        @ApiParam(value = "地区名称", required = false)
        private String REGIO1;

        @ApiParam(value = "城市编码", required = false)
        private String ORT01;

        @ApiParam(value = "城市名称", required = false)
        private String ORT02;


        @ApiParam(value = "邮编", required = false)
        private String PSTLZ;

        @ApiParam(value = "国家编码", required = false)
        private String LAND1;

        @ApiParam(value = "国家名称", required = false)
        private String LAND2;

        @ApiParam(value = "分类标准分录", example = "")
        private List<EntrySort> sorts;
        @ApiParam(value = "银行分录", example = "")
        private List<EntryBanks> banks;
        @ApiParam(value = "行号", example = "")
        private List<CustomerInfo> rows;

        public String getMDM_NO() {
            return MDM_NO;
        }

        public void setMDM_NO(String MDM_NO) {
            this.MDM_NO = MDM_NO;
        }

        public String getKUNNR() {
            return KUNNR;
        }

        public void setKUNNR(String KUNNR) {
            this.KUNNR = KUNNR;
        }

        public String getFULL_NAME() {
            return FULL_NAME;
        }

        public void setFULL_NAME(String FULL_NAME) {
            this.FULL_NAME = FULL_NAME;
        }

        public String getSTATUS(String str) {
            if ("A".equals(str)) {
                return "A";
            }
            if ("B".equals(str)) {
                return "B";
            }
            if ("C".equals(str)) {
                return "C";
            }
            return null;
        }

        public void setSTATUS(String STATUS) {
            this.STATUS = STATUS;
        }

        public String getENABLE(String str) {
            if ("0".equals(str)) {
                return "0";
            }
            if ("1".equals(str)) {
                return "1";
            }
            return null;
        }

        public void setENABLE(String ENABLE) {
            this.ENABLE = ENABLE;
        }

        public String getNAME1() {
            return NAME1;
        }

        public void setNAME1(String NAME1) {
            this.NAME1 = NAME1;
        }

        public String getCREATEORG(String str) {
            if ("盛虹集团".equals(str)) {
                return "盛虹集团";
            }
            return null;
        }

        public void setCREATEORG(String CREATEORG) {
            this.CREATEORG = CREATEORG;
        }

        public String getCTRLSTRATEGY(String str) {
            if ("1".equals(str)) {
                return "1";
            }
            if ("2".equals(str)) {
                return "2";
            }
            if ("5".equals(str)) {
                return "5";
            }
            if ("6".equals(str)) {
                return "6";
            }
            if ("7".equals(str)) {
                return "7";
            }
            return null;
        }

        public void setCTRLSTRATEGY(String CTRLSTRATEGY) {
            this.CTRLSTRATEGY = CTRLSTRATEGY;
        }


        public String getKTOKD() {
            return KTOKD;
        }

        public void setKTOKD(String KTOKD) {
            this.KTOKD = KTOKD;
        }
        public String getTEL_NUMBER() {
            return TEL_NUMBER;
        }

        public void setTEL_NUMBER(String TEL_NUMBER) {
            this.TEL_NUMBER = TEL_NUMBER;
        }

        public String getFAX_NUMBER() {
            return FAX_NUMBER;
        }

        public void setFAX_NUMBER(String FAX_NUMBER) {
            this.FAX_NUMBER = FAX_NUMBER;
        }

        public String getSORT1() {
            return SORT1;
        }

        public void setSORT1(String SORT1) {
            this.SORT1 = SORT1;
        }

        public String getEMAIL() {
            return EMAIL;
        }

        public void setEMAIL(String EMAIL) {
            this.EMAIL = EMAIL;
        }

        public String getCURRENCYCODE() {
            return CURRENCYCODE;
        }

        public void setCURRENCYCODE(String CURRENCYCODE) {
            this.CURRENCYCODE = CURRENCYCODE;
        }


        public String getSTATUS() {
            return STATUS;
        }

        public String getENABLE() {
            return ENABLE;
        }

        public String getCTRLSTRATEGY() {
            return CTRLSTRATEGY;
        }

        public String getKTOKD1() {
            return KTOKD1;
        }

        public void setKTOKD1(String KTOKD1) {
            this.KTOKD1 = KTOKD1;
        }

        public String getANRED() {
            return ANRED;
        }

        public void setANRED(String ANRED) {
            this.ANRED = ANRED;
        }

        public String getADDRESS() {
            return ADDRESS;
        }

        public void setADDRESS(String ADDRESS) {
            this.ADDRESS = ADDRESS;
        }

        public String getVBUND() {
            return VBUND;
        }

        public void setVBUND(String VBUND) {
            this.VBUND = VBUND;
        }

        public String getREGIO() {
            return REGIO;
        }

        public void setREGIO(String REGIO) {
            this.REGIO = REGIO;
        }

        public String getREGIO1() {
            return REGIO1;
        }

        public void setREGIO1(String REGIO1) {
            this.REGIO1 = REGIO1;
        }

        public String getORT01() {
            return ORT01;
        }

        public void setORT01(String ORT01) {
            this.ORT01 = ORT01;
        }

        public String getORT02() {
            return ORT02;
        }

        public void setORT02(String ORT02) {
            this.ORT02 = ORT02;
        }

        public String getPSTLZ() {
            return PSTLZ;
        }

        public void setPSTLZ(String PSTLZ) {
            this.PSTLZ = PSTLZ;
        }

        public String getLAND1() {
            return LAND1;
        }

        public void setLAND1(String LAND1) {
            this.LAND1 = LAND1;
        }

        public String getLAND2() {
            return LAND2;
        }

        public void setLAND2(String LAND2) {
            this.LAND2 = LAND2;
        }

        public List<EntryBanks> getBanks() {
            return banks;
        }

        public void setBanks(List<EntryBanks> banks) {
            this.banks = banks;
        }

        public List<CustomerInfo> getRows() {
            return rows;
        }

        public void setRows(List<CustomerInfo> rows) {
            this.rows = rows;
        }

        public String getCREATEORG() {
            return CREATEORG;
        }

        public List<EntrySort> getSorts() {
            return sorts;
        }

        public void setSorts(List<EntrySort> sorts) {
            this.sorts = sorts;
        }


        public static class EntrySort implements Serializable {
            @ApiParam(value = "供应商账户组代码", required = true, position = 1)
            private String KTOKD;

            @ApiParam(value = "供应商账户组名称", required = true, position = 2)
            private String KTOKD1;

            public String getKTOKD() {
                return KTOKD;
            }

            public void setKTOKD(String KTOKD) {
                this.KTOKD = KTOKD;
            }

            public String getKTOKD1() {
                return KTOKD1;
            }

            public void setKTOKD1(String KTOKD1) {
                this.KTOKD1 = KTOKD1;
            }
        }

        /**
         * 银行分录
         */
        @ApiModel
        public static class EntryBanks implements Serializable {
            @ApiParam(value = "银行账号", required = true, position = 1)
            private String BANKN;
            @ApiParam(value = "开户账户名", required = true, position = 2)
            private String KOINH;
            @ApiParam(value = "币种代码", required = true, position = 3)
            private String CURRENCYCODE;
            @ApiParam(value = "币种名称", required = true, position = 4)
            private String CURRENCYNAME;
            @ApiParam(value = "开户银行", required = true, position = 5)
            private String BANK;
            @ApiParam(value = "默认", required = true, position = 6)
            private boolean ISDEFAULT;

            @ApiParam(value = "银行联号", required = true, position = 7)
            private String BANKL;

            @ApiParam(value = "银行国家代码", required = true, position = 8)
            private String BANKS;

            public String getBANKN() {
                return BANKN;
            }

            public void setBANKN(String BANKN) {
                this.BANKN = BANKN;
            }

            public String getKOINH() {
                return KOINH;
            }

            public void setKOINH(String KOINH) {
                this.KOINH = KOINH;
            }

            public String getCURRENCYCODE() {
                return CURRENCYCODE;
            }

            public void setCURRENCYCODE(String CURRENCYCODE) {
                this.CURRENCYCODE = CURRENCYCODE;
            }

            public String getCURRENCYNAME() {
                return CURRENCYNAME;
            }

            public void setCURRENCYNAME(String CURRENCYNAME) {
                this.CURRENCYNAME = CURRENCYNAME;
            }

            public String getBANK() {
                return BANK;
            }

            public void setBANK(String BANK) {
                this.BANK = BANK;
            }

            public boolean isISDEFAULT() {
                return ISDEFAULT;
            }

            public void setISDEFAULT(boolean ISDEFAULT) {
                this.ISDEFAULT = ISDEFAULT;
            }

            public String getBANKL() {
                return BANKL;
            }

            public void setBANKL(String BANKL) {
                this.BANKL = BANKL;
            }

            public String getBANKS() {
                return BANKS;
            }

            public void setBANKS(String BANKS) {
                this.BANKS = BANKS;
            }
        }
    }
}
